﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace TanmiaGrp.Report.Designer
{
    /// <summary>
    /// Represents the base class of report sections.
    /// </summary>
    [Serializable]
    public class BaseSection
    {
        /// <summary>
        /// Gets or sets weather the Current Section is visible, hidden, or Bound to Property or Column.
        /// </summary>
        [XmlAttribute("Visibility")]
        public string Visibility { get; set; }

        /// <summary>
        /// Gets or sets the color of section background.
        /// </summary>
        [XmlAttribute("BackgroundColor")]
        public string BackgroundColor { get; set; }

        /// <summary>
        /// Gets or sets the padding values of design surface.
        /// </summary>
        [XmlAttribute("DesignPadding")]
        public string DesignPadding { get; set; }

        /// <summary>
        /// Gets or sets the color of section's border.
        /// </summary>
        [XmlAttribute("BorderColor")]
        public string BorderColor { get; set; }

        /// <summary>
        /// Gets or sets the border thickness of design surface.
        /// </summary>
        [XmlAttribute("DesignBorderThickness")]
        public string DesignBorderThickness { get; set; }

        /// <summary>
        /// Gets or sets height of current section on design surface.
        /// </summary>
        [XmlAttribute("DesignHeight")]
        public double DesignHeight { get; set; }
    }
}
